
package ae.pcfc.cldos.online.net.service.types;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for JVRequest_VisitVisaCancel_Type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p>
 * <pre>
 * &lt;simpleType name="JVRequest_VisitVisaCancel_Type">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     &lt;enumeration value="ExitWithDoc"/>
 *     &lt;enumeration value="ExitWithOutDoc"/>
 *     &lt;enumeration value="Cancelation"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 */
@XmlType(name = "JVRequest_VisitVisaCancel_Type")
@XmlEnum
public enum JVRequestVisitVisaCancelType {

    @XmlEnumValue("ExitWithDoc")
    EXIT_WITH_DOC("ExitWithDoc"),
    @XmlEnumValue("ExitWithOutDoc")
    EXIT_WITH_OUT_DOC("ExitWithOutDoc"),
    @XmlEnumValue("Cancelation")
    CANCELATION("Cancelation");
    private final String value;

    JVRequestVisitVisaCancelType(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static JVRequestVisitVisaCancelType fromValue(String v) {
        for (JVRequestVisitVisaCancelType c: JVRequestVisitVisaCancelType.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }

}
